All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.app.audio.MusicMediaControl
java.lang.Object
|
+----quicktime.app.audio.AudioMediaControl
|
+----quicktime.app.audio.MusicMediaControl
- public class MusicMediaControl
- extends AudioMediaControl
- implements MusicScore
This class is a specialized version of the generic AudioMediaControl class which
provides added capability for dealing specifically with MusicMedia.
-
MusicMediaControl(MusicMedia)
- The constructor needs to know which MusicMedia object is being controlled.
-
getPart(int)
- This method returns the NoteChannel responsible for a given part in
the score.
-
getPartCount()
- This method returns the number of parts.
MusicMediaControl
public MusicMediaControl(MusicMedia m) throws QTException
- The constructor needs to know which MusicMedia object is being controlled.
- Parameters:
- m - the MusicMedia object being controlled
getPartCount
public int getPartCount() throws QTException
- This method returns the number of parts.
- Returns:
- the number of parts
getPart
public MusicPart getPart(int part) throws QTException
- This method returns the NoteChannel responsible for a given part in
the score.
- Parameters:
- part - the part number of the required note channel
- Returns:
- the NoteChannel requested
All Packages Class Hierarchy This Package Previous Next Index